package com.lujianfei.tiananyungu

import org.junit.Test

import org.junit.Assert.*

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
        val input = "1期4栋"
        val regex = Regex("\\d+")
        val result = regex.findAll(input)
        result.iterator().forEach {
            println(it.value)
        }
    }
}